package cn.mazexal.exambg.models.converter;

import cn.mazexal.exambg.models.db.CardMenuDO;
import cn.mazexal.exambg.models.vo.CardMenuVO;
import org.mapstruct.Mapper;

/**
 * @author: Mazexal
 * Date: 2025/5/12
 */
@Mapper(componentModel = "spring")
public interface CardMenuConverter {
    CardMenuVO toView(CardMenuDO cardMenuDO);

    CardMenuDO toDb(CardMenuVO cardMenuVO);
}
